<link rel="stylesheet" href="__CDN__/assets/addons/vuemagic/element/element.css">
<link rel="stylesheet" href="__CDN__/assets/addons/vuemagic/common.css">
<script src="__CDN__/assets/addons/vuemagic/vue.js"></script>
<script src="__CDN__/assets/addons/vuemagic/element/element.js"></script>
<script src="__CDN__/assets/addons/vuemagic/Sortable.min.js"></script>
<script src="__CDN__/assets/addons/vuemagic/vuedraggable.js"></script>
<script src="__CDN__/assets/addons/vuemagic/moment.js"></script>
<!--以上js文件不是必须的，您可以将不使用的js删除掉，这里为了考虑所有字段类型情况全部进行了引入-->
<div id="formDetail" v-cloak>
    <div class="form-bodys">
        <el-form :model="baseFrom" ref="baseFrom" :rules="rules" label-width="114px" class="demo-baseFrom">
                   <el-form-item label="{:__('Name')}：" prop="name">
          <el-input v-model="baseFrom.name" placeholder="请输入{:__('name')}" size="medium"></el-input>
       </el-form-item>
        <el-form-item label="{:__('Director')}：" prop="director">
<!--         <div class='control-relative'> <el-input-number v-model="baseFrom.director" :min="1" :max="9999"  size="small"></el-input-number></div>-->
            <div class='control-relative'>
                <el-select v-model="director" filterable placeholder="请选择负责人">
                    <el-option
                            v-for="item in user"
                            :key="item.id"
                            :label="item.username"
                            :value="item.id">
                    </el-option>
                </el-select>
            </div>
       </el-form-item>
        <el-form-item label="{:__('安全管理人')}：" prop="manager">
            <div class='control-relative'>
                <el-select v-model="manager" filterable placeholder="请选择安全管理人">
                    <el-option
                            v-for="item in user"
                            :key="item.id"
                            :label="item.username"
                            :value="item.id">
                    </el-option>
                </el-select>
            </div>
       </el-form-item>
        </el-form>
    </div>
    <div class="page-footer display-flex">
        <div @click="baseSub" class="btn-common footer-btn-1">取消</div>
        <div @click="baseSub('yes','baseFrom')" class="btn-common footer-btn-2">确定</div>
    </div>
</div>


